﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

/// <summary>
/// 商品信息
/// </summary>
namespace KwaiXiaoDian.Entity.DO
{
	[Table("t_product")]
	public partial class TProduct
	{
		public TProduct()
		{ }

		/// <summary>
		/// id
		/// </summary>
		[Key] 
		[Column("id")]
		public long Id { get; set; }
	
		/// <summary>
		/// created_time
		/// </summary>
		[Column("created_time")]
		public DateTime CreatedTime { get; set; }
	
		/// <summary>
		/// created_by
		/// </summary>
		[Column("created_by")]
		public long CreatedBy { get; set; }
	
		/// <summary>
		/// last_updated_time
		/// </summary>
		[Column("last_updated_time")]
		public DateTime? LastUpdatedTime { get; set; }
	
		/// <summary>
		/// last_updated_by
		/// </summary>
		[Column("last_updated_by")]
		public long? LastUpdatedBy { get; set; }
	
		/// <summary>
		/// leader_id
		/// </summary>
		[Column("leader_id")]
		public string LeaderId { get; set; }
	
		/// <summary>
		/// product_id
		/// </summary>
		[Column("product_id")]
		public string ProductId { get; set; }
	
		/// <summary>
		/// name
		/// </summary>
		[Column("name")]
		public string Name { get; set; }
	
		/// <summary>
		/// image_url
		/// </summary>
		[Column("image_url")]
		public string ImageUrl { get; set; }
	
		/// <summary>
		/// price
		/// </summary>
		[Column("price")]
		public decimal? Price { get; set; }
	
		/// <summary>
		/// profit_amount
		/// </summary>
		[Column("profit_amount")]
		public decimal? ProfitAmount { get; set; }
	
		/// <summary>
		/// commission_rate
		/// </summary>
		[Column("commission_rate")]
		public decimal? CommissionRate { get; set; }
	
		/// <summary>
		/// delivery_time
		/// </summary>
		[Column("delivery_time")]
		public string DeliveryTime { get; set; }

		/// <summary>
		/// promoter_num
		/// </summary>
		[Column("promoter_num")]
		public int? PromoterNum { get; set; }

		/// <summary>
		/// sold_count_thirty_days
		/// </summary>
		[Column("sold_count_thirty_days")]
		public int? SoldCountThirtyDays { get; set; }

		/// <summary>
		/// distribute_item_id
		/// </summary>
		[Column("distribute_item_id")]
		public string DistributeItemId { get; set; }

		/// <summary>
		/// status
		/// </summary>
		[Column("status")]
		public byte? Status { get; set; }

		/// <summary>
		/// channel
		/// </summary>
		[Column("channel")]
		public string Channel { get; set; }

		/// <summary>
		/// total_order_num
		/// </summary>
		[Column("total_order_num")]
		public int? TotalOrderNum { get; set; }

		/// <summary>
		/// total_pv
		/// </summary>
		[Column("total_pv")]
		public int? TotalPv { get; set; }

		/// <summary>
		/// total_promoter_num
		/// </summary>
		[Column("total_promoter_num")]
		public int? TotalPromoterNum { get; set; }

		/// <summary>
		/// handle_status
		/// </summary>
		[Column("handle_status")]
		public byte? HandleStatus { get; set; }

		/// <summary>
		/// remark
		/// </summary>
		[Column("remark")]
		public string Remark { get; set; }

	}
}